package model

type CartStruct struct {
	Id      int     `gorm:"column:id"`
	Price   float64 `gorm:"column:price"`
	Name    string  `gorm:"column:name"`
	Sku     string  `gorm:"column:sku"`
	Number  int     `gorm:"column:number"`
	GoodsId int     `gorm:"column:goodsId"`
	Uid     int     `gorm:"column:uid"`
	Pic     string  `gorm:"column:pic"`
	ShopId  int     `gorm:"column:shop_id"`
	SkuList []OptionStruct
}
type OptionStruct struct {
	OptionName      string
	OptionId        int
	OptionValueId   int
	OptionValueName string
}

type SkuPrice struct {
	Price              float64 ` gorm:"column:price"`
	PropertyChildNames string  ` gorm:"column:propertyChildNames"`
}

type CartOption struct {
	OptionId      int `json:"optionId"`
	OptionValueId int `json:"optionValueId"`
}
